﻿<elysium:Window x:Class="PresentationAid.Dialog.About" 
                WindowStyle="ToolWindow"
                xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                xmlns:elysium="http://schemas.codeplex.com/elysium"
                xmlns:params="http://schemas.codeplex.com/elysium/params" 
                params:Manager.Theme="Light"
                params:Manager.AccentBrush="{x:Static elysium:AccentBrushes.Blue}"
                params:Manager.ContrastBrush="White"
                Background="{DynamicResource BackgroundBrush}"
                Title="About" Height="320" Width="550" Topmost="True" ShowInTaskbar="False" WindowStartupLocation="CenterOwner" ResizeMode="NoResize">
    <Grid>
        <Grid>
            <Grid.RowDefinitions>
                <RowDefinition Height="Auto" />
                <RowDefinition />
            </Grid.RowDefinitions>

            <Border Name="Border" BorderThickness="0,0,0,2" BorderBrush="{DynamicResource HighlightBrush}" Margin="5,0,0,5" Width="90" HorizontalAlignment="Left" />

            <Grid Grid.Row="1">
                <Grid.RowDefinitions>
                    <RowDefinition Height="45*" />
                    <RowDefinition Height="55*" />
                </Grid.RowDefinitions>

                <Image Grid.RowSpan="2" VerticalAlignment="Top" HorizontalAlignment="Right" Source="/PresentationAid;component/Resources/Images/Other/appicon_big.png" Width="150" Margin="0,0,40,0" />

                <Grid Margin="20,0,20,20">
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition />
                        <ColumnDefinition />
                    </Grid.ColumnDefinitions>

                    <StackPanel>
                        <TextBlock FontSize="32" HorizontalAlignment="Left" FontWeight="Light" TextWrapping="Wrap" Foreground="{DynamicResource LowlightBrush}">PresentationAid</TextBlock>

                        <TextBlock Name="VersionTextBlock" HorizontalAlignment="Left" FontWeight="Light" TextWrapping="Wrap" Foreground="{DynamicResource MiddleLightBrush}">1.0.0.0 (10512) Windows x64</TextBlock>
                    </StackPanel>
                    
                </Grid>


                <Border Grid.Row="1" BorderBrush="#B9B9B9" BorderThickness="0,1,0,0">
                    <Grid Background="{DynamicResource HighlightBrush}">
                        <Grid.RowDefinitions>
                            <RowDefinition Height="Auto" />
                            <RowDefinition />
                        </Grid.RowDefinitions>                    

                        <TextBlock TextWrapping="Wrap" FontSize="16" FontWeight="Light" Foreground="{DynamicResource LowlightBrush}" Margin="10">
                            Copyright © 2013 arvystate.net. All rights reserved.<LineBreak />
                            Released under Microsoft Public License (Ms-PL), made possible by various open source projects.
                        </TextBlock>

                        <Button Grid.Row="1" Name="AboutOkButton" Content="OK" Margin="15" Click="AboutOkButtonClick" HorizontalAlignment="Right" VerticalAlignment="Bottom" />
                    </Grid>
                </Border>
            </Grid>
        </Grid>
    </Grid>
</elysium:Window>